package com.tuling.designpattern.command;

/**
 * @author 林瑞涛
 * @desc   具体命令类
 * @date 2021年08月03日 14:59
 */
public class ConcreteCommand extends Command{

    private Receiver receiver;

    public ConcreteCommand() {
        receiver = new Receiver();
    }

    @Override
    public void execute() {
        receiver.action();
    }
}
